package cn.qqy.org.service.impl;

import cn.qqy.base.service.impl.BaseServiceImpl;
import cn.qqy.org.domain.Employee;
import cn.qqy.org.mapper.IEmployeeMapper;
import cn.qqy.org.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmployeeServiceImpl extends BaseServiceImpl<Employee> implements IEmployeeService {

    @Autowired
    private IEmployeeMapper employeeMapper;

    @Override
    public Employee queryByUsername(String username) {

        return  employeeMapper.queryByUcsername(username);

    }
}
